import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
	state: {
		networkShow: false, //网络请求状态
	},
	mutations: {
		switch (state, code = false) {
			this.state.networkShow = code
		}
	},
	actions: {}
})
export default store